package com.cookor.poi.modules.phy.entity;

import com.cookor.poi.common.persistence.DataEntity;
import com.cookor.poi.modules.tenant.entity.TTenant;
import javax.validation.constraints.NotNull;

public class TTempNotice extends DataEntity<TTempNotice> {
  public static int appointSuccess = 1;
  
  public static int appointCancelSuccess = 2;
  
  public static int appointStop = 3;
  
  public static int retailSuccess = 4;
  
  public static int retailFail = 5;
  
  public static int retailRefund = 6;
  
  private static final long serialVersionUID = 1L;
  
  private Integer tenantId;
  
  private Integer type;
  
  private String tempId;
  
  private Integer status;
  
  private String tenantName;
  
  private TTenant tenant;
  
  public TTempNotice() {}
  
  public TTempNotice(String id) {
    super(id);
  }
  
  @NotNull(message = "租户id不能为空")
  public Integer getTenantId() {
    return this.tenantId;
  }
  
  public void setTenantId(Integer tenantId) {
    this.tenantId = tenantId;
  }
  
  @NotNull(message = "模板类型不能为空")
  public Integer getType() {
    return this.type;
  }
  
  public void setType(Integer type) {
    this.type = type;
  }
  
  @NotNull(message = "模板id不能为空")
  public String getTempId() {
    return this.tempId;
  }
  
  public void setTempId(String tempId) {
    this.tempId = tempId;
  }
  
  @NotNull(message = "开关不能为空")
  public Integer getStatus() {
    return this.status;
  }
  
  public void setStatus(Integer status) {
    this.status = status;
  }
  
  public String getTenantName() {
    return this.tenantName;
  }
  
  public void setTenantName(String tenantName) {
    this.tenantName = tenantName;
  }
  
  public TTenant getTenant() {
    return this.tenant;
  }
  
  public void setTenant(TTenant tenant) {
    this.tenant = tenant;
  }
}
